package General;

import java.io.Serializable;
import java.util.Calendar;

public class QuoteImplementation implements Serializable, QuoteInterface {
	private static final long serialVersionUID = 1L;
	
	public int fPrice;
	public long fTimeStamp;
	
	public QuoteImplementation(int price) {
		fPrice = price;
		Calendar now = Calendar.getInstance();
		fTimeStamp = now.getTimeInMillis();
	}
	
	public int getPrice() {
		return fPrice;
	}
	
	public long getTimeStamp() {
		return fTimeStamp;
	}
}
